﻿using UnityEngine;
using UnityEngine.UI;

class OperateLogic_2 : MonoBehaviour
{
    [SerializeField] private Button btn2;

    private bool startTestOp2 = false;
    void Start()
    {

        btn2.onClick.AddListener(() =>
        {
            startTestOp2 = !startTestOp2;
            //SyncClient1.SyncObj.SyncOperate(OperateData2.Create(TestVectorGetter.GetVec()));
            //  Debug.LogError($"excute time = {Time.time}");
        });
    }

    private int offen = 1;
    private void Update()
    {
        if (!startTestOp2)
            return;
    }
}

